package com.sirg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author SirG
 * @since 2023-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Log对象", description="")
public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "开口语")
    private String openMouth;

    @ApiModelProperty(value = "科室ID(888是默认库，999代表用户自定义库，其他的是意图对应的科室ID)")
    private Integer dataCategoryId;

    @ApiModelProperty(value = "userId")
    private Integer userId;

    @ApiModelProperty(value = "关键字")
    private String keyword;

    @ApiModelProperty(value = "意图id（默认话术库时是0，自定义话术库时是自定义话术库ID，系统话术时是系统话术库的意图ID）")
    private Integer intentionId;

    @ApiModelProperty(value = "（0 用户默认话术，2用户自定义话术 ，2系统话术）")
    private Integer flog;

    @ApiModelProperty(value = "咨询者ID")
    private Integer senderId;

    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;


}
